package bishizhuanyong.滴滴;

public class main2 {
    public static int cal(int num){
        int res=0;
        while (num!=0){
            int tmp=num%10;
            res^=tmp;
            num=num/10;
        }
        return res;
    }

    public static void main(String[] args) {
        for (int i=0;i<200;i++){
            System.out.println(i+"---"+cal(i));
        }
    }
}
